package jp.co.lkg.springsmp.common.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import jp.co.lkg.springsmp.common.dao.PrivatedetailDao;
import jp.co.lkg.springsmp.common.db.dto.PrivatedetailDto;
import jp.co.lkg.springsmp.common.db.mapper.PrivatedetailMapper;


@Component
public class PrivatedetailDaoImpl implements PrivatedetailDao
{

	@Autowired
	private PrivatedetailMapper privatedetailMapper;

	@Override
	public PrivatedetailDto selectByPk(PrivatedetailDto dto) {
		
		return privatedetailMapper.selectByPk(dto);
	}

	@Override
	public PrivatedetailDto selectByPkForUpdate(PrivatedetailDto dto) {
		return privatedetailMapper.selectByPkForUpdate(dto);
	}

	@Override
	public void insert(PrivatedetailDto dto) {
		privatedetailMapper.insert(dto);
		
	}

	@Override
	public void updateByPk(PrivatedetailDto dto) {
		privatedetailMapper.updateByPk(dto);
		
	}

	@Override
	public void deleteByPk(PrivatedetailDto dto) {
		privatedetailMapper.deleteByPk(dto);
		
	}

	@Override
	public void updateIncludeNull(PrivatedetailDto dto) {
		privatedetailMapper.updateIncludeNull(dto);
		
	}

	@Override
	public List<PrivatedetailDto> select(PrivatedetailDto dto) {
		return privatedetailMapper.select(dto);
	}

	@Override
	public void insertlist(List<PrivatedetailDto> list) {
		privatedetailMapper.insertlist(list);
	}

	

	

	

	
}
